package com.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Create with Intellij idea
 * User:鲁智明
 * Date:2018/11/16
 * Time:23:58
 */
@SpringBootApplication
@EnableDiscoveryClient  //开启服务注册到注册中心上  ，用于除eureka之外的注册中心
public class ConsulMemberApp {
    public static void main(String[] args) {
        SpringApplication.run(ConsulMemberApp.class,args);
    }
}
